html
php
iphone
xml
linux
xcode
android
ruby-on-rails
regex
mysql
objective-c
silverlight
flash
json
algorithm
facebook
tsql
mvc
php5
api
If you have a list box at hand, and the database hands you a string with line breaks embedded, then you can simply do this.
ListBox.Items.Text := QueryString;
When you assign to the Text property of Items, the string will be parsed by splitting on line breaks. Each line is added to the list box as a separate item.
Text
Items
If your string is using a different delimiter, then you can use DelimitedText and Delimiter instead.
DelimitedText
Delimiter